package org.jeecg.modules.scm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: scm_receivables_transfer_application
 * @Author: jeecg-boot
 * @Date: 2021-11-09
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "应收账款转让申请信息对象", description = "scm_receivables_transfer_application")
public class ScmReceivablesTransferApplicationDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 申请编号
     */
    @ApiModelProperty(value = "申请编号")
    private String id;
    /**
     * 合同编号
     */
    @ApiModelProperty(value = "合同编号")
    private String contractNo;
    /**
     * 合同名称
     */
    @ApiModelProperty(value = "合同名称")
    private String contractName;
    /**
     * 持有人客户号
     */
    @ApiModelProperty(value = "持有人客户号")
    private Integer ownerCusNo;
    /**
     * 受让方客户号
     */
    @ApiModelProperty(value = "受让方客户号")
    private Integer transfereeCusNo;
    /**
     * 受让方账号
     */
    @ApiModelProperty(value = "受让方账号")
    private String transfereeAccountNumber;
    /**
     * 受让方账号名称
     */
    @ApiModelProperty(value = "受让方账号名称")
    private String transfereeAccountName;
    /**
     * 受让方账号开户行行号
     */
    @ApiModelProperty(value = "受让方账号开户行行号")
    private String transfereeAccountBanke;
    /**
     * 本次转让应收账款金额（元）
     */
    @ApiModelProperty(value = "本次转让应收账款金额（元）")
    private BigDecimal transferAmount;
    /**
     * 转让日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "转让日期")
    private Date transferTime;
    /**
     * 申请状态
     */
    @ApiModelProperty(value = "申请状态")
    private Integer status;
    /**
     * 附件
     */
    @ApiModelProperty(value = "附件")
    private String accessory;
    /**
     * 申请日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private Date applyTime;
    /**
     * 建立用户
     */
    @ApiModelProperty(value = "建立用户")
    private String createBy;
    /**
     * 最后修改日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
    /**
     * 最后修改用户
     */
    @ApiModelProperty(value = "最后修改用户")
    private String updateBy;

    /**
     * 申请关联云链单
     */
    @ApiModelProperty(value = "申请关联云链单")
    private List<String> cloudChianNos;

}
